package com.zyh.scs.admin.api.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author hwh
 * @ClassName: 账单管理下载excel$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@ColumnWidth(30)
public class BillExcelVO implements Serializable {

    /**
     * 序号
     */
//    @Excel(name = "序号", orderNum = "1")
    private Integer index;

    /**
     * 流水号
     */
    @Excel(name = "流水号", orderNum = "2", width = 30)
    @Schema(description = "流水号")
    private String rechargeStream;

    /**
     * 第三方交易流水号
     */
    @Excel(name = "第三方交易流水号", orderNum = "3", width = 30)
    @Schema(description = "第三方交易流水号")
    private String thirdRechargeStream;

    @Excel(name = "guid", orderNum = "4", width = 30)
    @Schema(description = "guid")
    private String guid;


    @Excel(name = "用户姓名", orderNum = "5", width = 30)
    @Schema(description = "用户姓名")
    private String username;

    @Excel(name = "工号", orderNum = "6", width = 30)
    @Schema(description = "工号")
    private String userJobNumber;

    @Excel(name = "手机号", orderNum = "7", width = 30)
    @Schema(description = "手机号")
    private String phone;

    @Excel(name = "交易金额", orderNum = "8", width = 20)
    @Schema(description = "交易金额")
    private String transactionNumber;

    /**
     * 餐补账户账户金额元
     */
    @Schema(description = "餐补账户账户金额元")
    @Excel(name = "餐补账户账户金额元", orderNum = "9", width = 20)
    private BigDecimal cardAccount;

    /**
     * 现金账户金额元
     */
    @Schema(description = "现金账户金额元")
    @Excel(name = "现金账户金额元", orderNum = "10", width = 20)
    private BigDecimal cashAccount;

    @Excel(name = "账户类型", orderNum = "11", width = 10)
    @Schema(description = "账户类型")
    private String rechargeTypeName;

    /**
     * 商户号
     */
    @Schema(description = "商户号")
    @Excel(name = "商户号", orderNum = "12", width = 30)
    private String merchantNumber;

    @Excel(name = "交易类型", orderNum = "13", width = 10)
    @Schema(description = "交易类型")
    private String transactionType;

    @Excel(name = "创建时间", orderNum = "14", width = 30, exportFormat = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 交易时间
     */
    @Excel(name = "交易时间", orderNum = "15", width = 30, exportFormat = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "交易时间")
    private LocalDateTime transactionTime;

    @Excel(name = "订单号", orderNum = "16", width = 30)
    @Schema(description = "订单号")
    private String orderId;

    /**
     * 交易时间
     */
    @Excel(name = "第三方订单号", orderNum = "17", width = 30)
    @Schema(description = "第三方订单号")
    private String outOrderNo;

    @Excel(name = "备注", orderNum = "18", width = 30)
    @Schema(description = "备注")
    private String notes;
}
